package com.ayf.payment.game.api.service;

import com.ayf.payment.game.api.entity.TemplateAdditional;

import java.util.List;

public interface TemplateAdditionalService {

    /**
     * 批量添加Additional
     *
     * @param additionalList
     * @return
     */
    boolean insertAdditionals(List<TemplateAdditional> additionalList);

    /**
     * 根据模板id查询出附加赠送信息
     *
     * @param templateId
     * @return
     */
    List<TemplateAdditional> selectAllByTemplateId(String templateId);

    /**
     * 据模板id删除附加赠送信息
     *
     * @param templateId
     * @return
     */
    boolean delAdditionalByTemId(String templateId);
}


